home *** CD-ROM | disk | FTP | other *** search
-
-
-
- MMMMPPPPIIII____TTTTEEEESSSSTTTTAAAANNNNYYYY((((3333)))) MMMMPPPPIIII____TTTTEEEESSSSTTTTAAAANNNNYYYY((((3333))))
-
-
-
- NNNNAAAAMMMMEEEE
- MMMMPPPPIIII____TTTTeeeessssttttaaaannnnyyyy - Tests for completion of any previously initiated
- communication
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- C:
-
- #include <mpi.h>
-
- int MPI_Testany( _c_o_u_n_t, _a_r_r_a_y__o_f__r_e_q_u_e_s_t_s, _i_n_d_e_x,
- _f_l_a_g, _s_t_a_t_u_s )
- int _c_o_u_n_t;
- MPI_Request _a_r_r_a_y__o_f__r_e_q_u_e_s_t_s[];
- int *_i_n_d_e_x, *_f_l_a_g;
- MPI_Status *_s_t_a_t_u_s;
-
-
- C++:
-
- #include <mpi.h>
-
- static bool Request::Testany(
- int _c_o_u_n_t,
- Request _a_r_r_a_y__o_f__r_e_q_u_e_s_t_s[],
- int& _i_n_d_e_x)
-
-
- Fortran:
-
- INCLUDE "mpif.h" (or USE MPI)
-
- LOGICAL _f_l_a_g
- INTEGER _c_o_u_n_t, _a_r_r_a_y__o_f__r_e_q_u_e_s_t_s(*), _i_n_d_e_x,
- _s_t_a_t_u_s(MPI_STATUS_SIZE), _i_e_r_r_o_r
-
- CALL MPI_TESTANY(_c_o_u_n_t, _a_r_r_a_y__o_f__r_e_q_u_e_s_t_s(*), _i_n_d_e_x, _f_l_a_g,
- _s_t_a_t_u_s(MPI_STATUS_SIZE), _i_e_r_r_o_r)
-
-
- SSSSTTTTAAAANNNNDDDDAAAARRRRDDDDSSSS
- This release implements the MPI 1.2 standard, as documented by the MPI
- Forum in the spring 1997 release of _M_P_I: _A _M_e_s_s_a_g_e _P_a_s_s_i_n_g _I_n_t_e_r_f_a_c_e
- _S_t_a_n_d_a_r_d.
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- The MMMMPPPPIIII____TTTTeeeessssttttaaaannnnyyyy routine tests for completion of any previously initiated
- communication. This routine accepts the following parameters:
-
- _c_o_u_n_t Specifies the list length (integer)
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- MMMMPPPPIIII____TTTTEEEESSSSTTTTAAAANNNNYYYY((((3333)))) MMMMPPPPIIII____TTTTEEEESSSSTTTTAAAANNNNYYYY((((3333))))
-
-
-
- _a_r_r_a_y__o_f__r_e_q_u_e_s_t_s
- Specifies the array of requests (array of handles)
-
- _i_n_d_e_x Returns the index of the operation that completed, or the value
- of MMMMPPPPIIII____UUUUNNNNDDDDEEEEFFFFIIIINNNNEEEEDDDD if no operation completed (integer)
-
- _f_l_a_g Returns a value of ttttrrrruuuueeee if one of the operations is complete
- (logical)
-
- _s_t_a_t_u_s Returns the status object (status)
-
- _i_e_r_r_o_r Specifies the return code value for successful completion,
- which is in MPI_SUCCESS. MPI_SUCCESS is defined in the mmmmppppiiiiffff....hhhh
- file.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-